//
//  headerView.m
//  ALS3.0
//
//  Created by 崔 on 2016/12/27.
//  Copyright © 2016年 guomianxiang. All rights reserved.
//

#import "headerView.h"


@implementation headerView
- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        self.contentView.backgroundColor = [UIColor clearColor];
        
        // label
        UILabel *label = [[UILabel alloc] init];
        
//        label.chy_x = ;
        
        label.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
        
        
        label.textColor = [UIColor redColor];
        label.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:label];
        self.label = label;
    }
    return self;
}

- (void)setText:(NSString *)text
{
    _text = [text copy];
    self.label.text = text;
}


@end
